.square-box {
  background-color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding: 32px 0;
  
  width: 100%;
  height: calc(100vh - 48px); 
  overflow: auto;
  
  // margin: 0 auto;
  // width: 100%;
}
.square-box::-webkit-scrollbar {
  display: none;
}
.type-box {
  position: relative;
  display: flex;
  width: 580px;
  height: 64px;
  background: #f0e9e1;
  box-shadow: inset 0px 0px 8px 0px rgba(202, 188, 172, 0.5);
  border-radius: 8px;
  margin: 50px 0;
}
.type-item {
  width: 50%;
  height: 100%;
  font-size: 22px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #999999;
  line-height: 34px;
  span {
    position: relative;
    z-index: 99;
  }
}
.type-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 60px;
  margin-top: 2px;
  margin-left: 2px;
  background: #ffffff;
  border-radius: 8px;
  transition: left 0.5s;
}
.type-shadow-active {
  top: 0;
  left: 50%;
  margin-top: 2px;
  margin-left: -2px;
}
.type-title-active {
  color: #d2ad77;
}

.item-active {
  display: flex;
  display: none;
  align-items: flex-end;
  position: absolute;
  z-index: 999;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px;
  height: 128px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}
.item-img:hover {
  .item-active {
    display: flex;
  }
}
.preview-btn {
  width: 84px;
  height: 35px;
  border-radius: 3px;
  border: 1px solid #d2ad77;
  margin-right: 8px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #d2ad77;
  line-height: 20px;
}
.make-btn {
  flex: 1;
  height: 35px;
  background: #d2ad77;
  border-radius: 3px;
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #ffffff;
  line-height: 20px;
}
